package org.springboot.aop.service;

import java.util.List;

import org.springboot.aop.dto.StudentDTO;
import org.springframework.stereotype.Service;

@Service
public class AopService {

    public void test1() {
        System.out.println("我是正式的方法输出的");
    }

    public void test2(List<StudentDTO> studentDTOList) {
        studentDTOList.forEach((x) -> {
            System.out.println("我是List里的内容:" + x.getName());
        });
    }
}
